//
// Copyright (C) 2017-2021 The LineageOS Project
//           (C) 2023 Paranoid Android
//
// SPDX-License-Identifier: Apache-2.0
//

android_app {
    name: "XiaomiParts",
    defaults: [
        "SettingsLibDefaults",
    ],

    srcs: ["src/**/*.java"],
    resource_dirs: ["res"],
    certificate: "platform",
    platform_apis: true,
    system_ext_specific: true,
    privileged: true,

    overrides: ["MusicFX"],
    static_libs: [
        "androidx.core_core",
        "androidx.preference_preference",
        "org.lineageos.settings.resources",
        "vendor.xiaomi.hardware.displayfeature-V1.0-java",
        "vendor.xiaomi.hardware.fingerprintextension-V1.0-java",
        "vendor.xiaomi.hw.touchfeature-V1.0-java"
    ],

    optimize: {
        proguard_flags_files: ["proguard.flags"],
    },
}
